package com.ruoyi.standingbook.extermination.service;

import com.ruoyi.standingbook.extermination.domain.ExterminationImportBase;
import com.ruoyi.standingbook.extermination.domain.vo.ExterminationImportBaseVo;
import com.ruoyi.standingbook.extermination.domain.bo.ExterminationImportBaseBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 四害消杀导入Service接口
 *
 * @author cc
 * @date 2023-04-30
 */
public interface IExterminationImportBaseService {

    /**
     * 查询四害消杀导入
     */
    ExterminationImportBaseVo queryById(String batchNo);

    /**
     * 查询四害消杀导入列表
     */
    TableDataInfo<ExterminationImportBaseVo> queryPageList(ExterminationImportBaseBo bo, PageQuery pageQuery);

    /**
     * 查询四害消杀导入列表
     */
    List<ExterminationImportBaseVo> queryList(ExterminationImportBaseBo bo);

    /**
     * 新增四害消杀导入
     */
    Boolean insertByBo(ExterminationImportBaseBo bo);

    /**
     * 修改四害消杀导入
     */
    Boolean updateByBo(ExterminationImportBaseBo bo);

    /**
     * 校验并批量删除四害消杀导入信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
